/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ufps.cuatro.util.model;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 *
 * @author Catc
 */
public class MyMap extends HashMap<String, List<String>>{
    
    private ArrayList<String> objKeys;

    public MyMap() {
        objKeys = new ArrayList<String>();
    }

    @Override
    public List<String> put(String key, List<String> value) {
        if(!objKeys.contains(key))objKeys.add(key);
        return super.put(key, value);
    }

    public ArrayList<String> getObjKeys() {
        return objKeys;
    }    
}
